package com.udata.client.service;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.udata.shared.exception.OperationException;
import com.udata.shared.model.UserB;

public interface UserServiceAsync {

	void saveUser(UserB user, AsyncCallback<UserB> callback);

	void login(String email, String password, AsyncCallback<UserB> callback);

	void getUser(String email, AsyncCallback<UserB> callback);

	void registerUser(UserB userB, AsyncCallback<UserB> callback);

}
